package com.fc.v2.model.param;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class WriteParam {
    private String keys;
    private String poem;
    private String gcode;

    public Map<String, String> toMap(){
        HashMap<String, String> map = new HashMap<>();
        map.put("keys",keys);
        map.put("poem",poem);
        map.put("gcode",gcode);
        return map;
    }
}
